<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>庆能城市环境</title>


	
<%@ include file="common.jsp"%>

<link rel="stylesheet" type="text/css" href="../../style/common.css" />

<link rel="stylesheet" type="text/css" href="../../style/frame.css" />


<style type="text/css">
#css3menu li{ float:left; list-style-type:none;}
#css3menu li a{	color:#fff; padding-right:20px;}
#css3menu li a.active{color:red;background:url(../../images/frame/bg_menu4.gif) no-repeat right -62px}
</style>


<script type="text/javascript" src='../../js/intMenu.js'> </script>

<script type="text/javascript" src='../../js/outlook.js'> </script>



<script type="text/javascript">


/* 	Ext.Ajax.request({
		url:basepath + '/querymenus.json',
		method:'GET',
		success:function(a,b,c,d){
			var menus = Ext.util.JSON.decode(a.responseText);
			menus =Ext.util.JSON.decode( menus.menuJson);
			(function($) {
				$(function() {
					setFrameHeight();
					//formatJson(menus);
					//创建箭头
					bulidArrow();
					//获取菜单宽度
					getWidth();
			
					TopOpenClose();
				});
			})(jQuery)
		}
	}); */ 
	 
	 var _menus = {
			 myplatform : [ {
					"menuid" : "10",
					"icon" : "icon-gzt",
					"menuname" : "我的工作台",
					"menus" : [ {
						"menuid" : "111",
						"menuname" : "待办事项(5)",
						"icon" : "icon-db",
						"url" : basePath+"/jsp/mywork/work_do.jsp"
					}, {
						"menuid" : "113",
						"menuname" : "已办事项",
						"icon" : "icon-yb",
						"url" : "#"
					}, {
						"menuid" : "115",
						"menuname" : "个人信息",
						"icon" : "icon-1",
						"url" : "#"
					}, {
						"menuid" : "119",
						"menuname" : "公告通知",
						"icon" : "icon-tz",
						"url" : "#"
					},{
						"menuid" : "120",
						"menuname" : "工作日历",
						"icon" : "icon-rl",
						"url" : "#"
					} ]
				} ],
				project : [{
					"menuid" : "20",
					"icon" : "icon-gc",
					"menuname" : "工程信息",
						"menus" : [ {
							"menuid" : "201",
							"menuname" : "客户信息",
							"icon" : "icon-1",
							"url" : basePath+"/jsp/probiz/client_info.jsp"
						}, {
							"menuid" : "202",
							"menuname" : "合同信息",
							"icon" : "icon-db",
							"url" : basePath+"/jsp/probiz/contract_info.jsp"
						},{
							"menuid" : "202",
							"menuname" : "工程信息",
							"icon" : "icon-db",
							"url" : basePath+"/jsp/probiz/construct_info.jsp"
						}]
				    },{
						"menuid" : "30",
						"icon" : "icon-yw",
						"menuname" : "业务申请",
						"menus":[{
							"menuid" : "210",
							"menuname" : "工程订单申请",
							"icon" : "icon-4",
							"url" : basePath+"/jsp/probiz/order_info.jsp"
						},{
							"menuid" : "211",
							"menuname" : "现场勘查申请",
							"icon" : "icon-5",
							"url" : basePath+"/jsp/probiz/surver_info.jsp"
						},{
							"menuid" : "212",
							"menuname" : "工程发票申请",
							"icon" : "icon-6",
							"url" : basePath+"/jsp/probiz/invoice_info.jsp"
						},{
							"menuid" : "213",
							"menuname" : "销售费用申请",
							"icon" : "icon-7",
							"url" : basePath+"/jsp/probiz/salesexp_info.jsp"
						}]
					},{
						"menuid" : "40",
						"icon" : "icon-gl",
						"menuname" : "工程管理",
						"menus":[{
								"menuid" : "214",
								"menuname" : "工程施工排期",
								"icon" : "icon-8",
								"url" : basePath+"/jsp/probiz/schedule.jsp"
							},{
								"menuid" : "215",
								"menuname" : "工程施工信息",
								"icon" : "icon-9",
								"url" : basePath+"/jsp/probiz/construct_info.jsp"
							},{
								"menuid" : "216",
								"menuname" : "工程进度跟踪",
								"icon" : "icon-10",
								"url" : basePath+"/jsp/probiz/pro_manager.jsp"
							},{
								"menuid" : "217",
								"menuname" : "车辆管理",
								"icon" : "icon-11",
								"url" : basePath+"/jsp/probiz/car_manager.jsp"
						    },{
								"menuid" : "218",
								"menuname" : "库房管理",
								"icon" : "icon-12",
								"url" : basePath+"/jsp/probiz/salesexp_info.jsp"
						    }
						]
					},{
						"menuid" : "50",
						"icon" : "icon-gc",
						"menuname" : "财务信息",
							"menus" : [{
								"menuid" : "203",
								"menuname" : "财务信息",
								"icon" : "icon-2",
								"url" : basePath+"/jsp/probiz/finance_info.jsp"
							}]
					    }
		        ],
				business : [{
					"menuid" : "60",
					"icon" : "icon-zhyw",
					"menuname" : "综合业务",
					"menus" : [/* {
						"menuid" : "219",
						"menuname" : "部门管理",
						"icon" : "icon-db",
						"url" : basePath + "#"
					}, */{
						"menuid" : "219",
						"menuname" : "人事管理",
						"icon" : "icon-13",
						"url" : basePath + "/jsp/intbiz/staff_info.jsp"
					},{
						"menuid" : "220",
						"menuname" : "考勤管理",
						"icon" : "icon-14",
						"url" : "#"
					},{
						"menuid" : "281",
						"menuname" : "岗位级别薪酬标准",
						"icon" : "icon-15",
						"url" : basePath + "/jsp/intbiz/salary_level_info.jsp"
					},{
						"menuid" : "282",
						"menuname" : "薪酬管理",
						"icon" : "icon-16",
						"url" : basePath + "/jsp/intbiz/salary_management.jsp"
					},{
						"menuid" : "283",
						"menuname" : "培训管理",
						"icon" : "icon-17",
						"url" : basePath + "/jsp/intbiz/cultivate_management.jsp"
					},{
						"menuid" : "284",
						"menuname" : "绩效管理",
						"icon" : "icon-18",
						"url" : "#"
					},{
						"menuid" : "285",
						"menuname" : "申请管理",
						"icon" : "icon-19",
						"url" : basePath + "/jsp/intbiz/apply_management.jsp"
					}]
				}],
				report : [{
					"menuid" : "70",
					"icon" : "icon-bbgl",
					"menuname" : "报表统计",
					"menus" : [ {
						"menuid" : "221",
						"menuname" : "财务分析",
						"icon" : "icon-20",
						"url" : "#"
					}, {
						"menuid" : "222",
						"menuname" : "财务报表",
						"icon" : "icon-21",
						"url" : "#"
					} ]

				}],
				sys : [{
					"menuid" : "80",
					"icon" : "icon-xtgl",
					"menuname" : "系统管理",
					"menus" : [ {
						"menuid" : "223",
						"menuname" : "部门管理",
						"icon" : "icon-22",
						"url" : basePath+"/jsp/admin/companyInfo.jsp"
					}, {
						"menuid" : "224",
						"menuname" : "人员管理",
						"icon" : "icon-23",
						"url" : basePath+"/jsp/admin/userInfo.jsp"
					},{
						"menuid" : "225",
						"menuname" : "角色管理",
						"icon" : "icon-kj",
						"url" : basePath+"/jsp/admin/roleInfo.jsp"
					},{
						"menuid" : "226",
						"menuname" : "权限管理",
						"icon" : "icon-24",
						"url" : "#"
					},{
						"menuid" : "227",
						"menuname" : "日志管理",
						"icon" : "icon-rl",
						"url" : "#"
					} ]

				}]
			};
	 
	 
	 
        //设置登录窗口
        function openPwd() {
            $('#w').window({
                title: '修改密码',
                width: 300,
                modal: true,
                shadow: true,
                closed: true,
                height: 160,
                resizable:false
            });
        }
        //关闭登录窗口
        function closePwd() {
            $('#w').window('close');
        }

        

        //修改密码
        function serverLogin() {
            var $newpass = $('#txtNewPass');
            var $rePass = $('#txtRePass');

            if ($newpass.val() == '') {
                msgShow('系统提示', '请输入密码！', 'warning');
                return false;
            }
            if ($rePass.val() == '') {
                msgShow('系统提示', '请在一次输入密码！', 'warning');
                return false;
            }

            if ($newpass.val() != $rePass.val()) {
                msgShow('系统提示', '两次密码不一至！请重新输入', 'warning');
                return false;
            }

            $.post('/ajax/editpassword.ashx?newpass=' + $newpass.val(), function(msg) {
                msgShow('系统提示', '恭喜，密码修改成功！<br>您的新密码为：' + msg, 'info');
                $newpass.val('');
                $rePass.val('');
                close();
            })
            
        }

        $(function() {

           /*  openPwd();
            //
            $('#editpass').click(function() {
                $('#w').window('open');
            });

            $('#btnEp').click(function() {
                serverLogin();
            }) */

			$('#btnCancel').click(function(){closePwd();})

           

            $('#loginOut').click(function() {
                $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {

                    if (r) {
                        location.href = './tologin.jsp';
                    }
                });

            })
			
			
			
        });
        
        
   
       
    </script>



</head>



<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">

    <div region="north" split="true" border="false" style="overflow: hidden; height: 72px;
        line-height: 25px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
     <div id="InHead"  class="in_head">  
     <div class="in_top_bg">
       <!--  <div class="headicon"><a id="loginOut" class="exit" href="javascript:logout()"></a></div> -->
	       <div class="logo">
					<span style="padding-left:10px; font-size: 16px; float:left; "><img src="../../images/blocks.gif" width="20" height="20" align="absmiddle" />庆能(北京)城市环境综合业务平台</span>
			</div>
       
	       <div class="top_menu">
		       
		        <ul id="TopMenu" class="top_menu_ul">
				</ul>
		        
		        <div class="top_fun">
					<ul class="top_fun_ul">
						<li>
							<div id="TopOC" class="headicon">
								<a class="up" href="javascript:void(0)"></a>
							</div>
						</li>
						<li class="nobg">
							<div class="headicon">
								<a class="exit" href="javascript:void(0)" id="loginOut" ></a>
							</div>
						</li>
					</ul>
				</div>
	        
	        </div>
        
        </div>
        
        <!-- <span style="padding-left:10px; font-size: 16px; float:left; "><img src="../../images/blocks.gif" width="20" height="20" align="absmiddle" />庆能(北京)城市环境综合业务平台</span>
    	
    	<ul id="css3menu" style="padding:1px; margin:0px;list-type:none; float:left; margin-left:40px;">
				<li ><a class="active" name="myplatform" href="javascript:;" title="我的工作台"><span class="icon-gzt">&nbsp;&nbsp;&nbsp;&nbsp;</span>我的工作台</a></li>
				<li><a name="project" href="javascript:;" title="工程业务"><span class="icon-gcyw">&nbsp;&nbsp;&nbsp;&nbsp;</span>工程业务</a></li>
				<li><a name="business" href="javascript:;" title="综合业务"><span class="icon-zhyw">&nbsp;&nbsp;&nbsp;&nbsp;</span>综合业务</a></li>
				<li><a name="report" href="javascript:;" title="报表管理"><span class="icon-bbgl">&nbsp;&nbsp;&nbsp;&nbsp;</span>报表管理</a></li>
				<li><a name="sys" href="javascript:;" title="系统管理"><span class="icon-xtgl">&nbsp;&nbsp;&nbsp;&nbsp;</span>系统管理</a></li>
			
		</ul> -->
		
		<div id="InMenuBg" class="in_menu_bg" style="">
			<div class="in_menu_position">
				<div id="InMenu" class="in_menu">
					<ul id="css3menu" style="padding:1px; margin:0px;list-type:none; float:left; margin-left:40px;">
						<li ><a class="active" name="myplatform" href="javascript:;" title="我的工作台"><span class="icon-gzt">&nbsp;&nbsp;&nbsp;&nbsp;</span>我的工作台</a></li>
						<li><a name="project" href="javascript:;" title="工程业务"><span class="icon-gcyw">&nbsp;&nbsp;&nbsp;&nbsp;</span>工程业务</a></li>
						<li><a name="business" href="javascript:;" title="综合业务"><span class="icon-zhyw">&nbsp;&nbsp;&nbsp;&nbsp;</span>综合业务</a></li>
						<li><a name="report" href="javascript:;" title="报表管理"><span class="icon-bbgl">&nbsp;&nbsp;&nbsp;&nbsp;</span>报表管理</a></li>
						<li><a name="sys" href="javascript:;" title="系统管理"><span class="icon-xtgl">&nbsp;&nbsp;&nbsp;&nbsp;</span>系统管理</a></li>
					
					</ul>
				</div>
			</div>
		</div>
		
    </div>
   </div>
    
    <div region="south" split="true" style="height: 30px; background: url(../../images/main/bg_top.gif) #7f99be repeat-x center 50%;">
        <div class="footer">Copyright © 2013  庆能环境. All Rights Reserved</div>
        
    </div>
    

    
    
    <div region="west" split="true" title="导航菜单" style="width:180px;" id="west">
		<div id='wnav' class="easyui-accordion" fit="true" border="false">
	
			<!--  导航内容 -->
					
		</div>

    </div>
    <div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
        <div id="tabs" class="easyui-tabs"  fit="true" border="false" >
			<div title="首页" style="padding:1px;overflow:hidden;" id="home">
				
				<iframe scrolling="auto" frameborder="0"  src="<%=basePath %>jsp/common/main_home.jsp" 
					style="width:100%;height:450px"></iframe>
			
			
		
			</div>
		</div>
    </div>
    
    <!--     修改密码窗口
    <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
        maximizable="false" icon="icon-save"  style="width: 300px; height: 150px; padding: 5px;
        background: #fafafa;">
        <div class="easyui-layout" fit="true">
            <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
                <table cellpadding=3>
                    <tr>
                        <td>新密码：</td>
                        <td><input id="txtNewPass" type="Password" class="txt01" /></td>
                    </tr>
                    <tr>
                        <td>确认密码：</td>
                        <td><input id="txtRePass" type="Password" class="txt01" /></td>
                    </tr>
                </table>
            </div>
            <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
                <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >
                    确定</a> <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
            </div>
        </div>
    </div> -->
   
	 <script>
            $('.item').hover(
                function(){
                    var $this = $(this);
                    expand($this);
                },
                function(){
                    var $this = $(this);
                    collapse($this);
                }
            );
            function expand($elem){
                var angle = 0;
                var t = setInterval(function () {
                    if(angle == 1440){
                        clearInterval(t);
                        return;
                    }
                    angle += 40;
                    $('.link',$elem).stop().animate({rotate: '+=-40deg'}, 0);
                },10);
                $elem.stop().animate({width:'108px'}, 1000)
                .find('.item_content').fadeIn(400,function(){
                    $(this).find('p').stop(true,true).fadeIn(600);
                });
            }
            function collapse($elem){
                var angle = 1440;
                var t = setInterval(function () {
                    if(angle == 0){
                        clearInterval(t);
                        return;
                    }
                    angle -= 40;
                    $('.link',$elem).stop().animate({rotate: '+=40deg'}, 0);
                },10);
                $elem.stop().animate({width:'52px'}, 1000)
                .find('.item_content').stop(true,true).fadeOut().find('p').stop(true,true).fadeOut();
            }
            
            
            setFrameHeight();
    		//formatJson(menus);
    		//创建箭头
    		bulidArrow();
    		//获取菜单宽度
    		getWidth();

    		TopOpenClose();
        </script>


</body>
</html>